import {mutableHandlers} from './baseHandlers'
export function reactive (target) {
    // 判断target 是否是对象
    if(typeof target !== 'object' ) {
        console.warn(`reactive ${target} 必须是一个对象`)
        return target
    }
    return new Proxy(target, mutableHandlers)
}
